const state = {
  query: {}
}

const mutations = {
  SET_QUERY(state, query) {
    state.query = query
  }
}

const actions = {
  SetQuery({ commit }, query) {
    commit('SET_QUERY', query)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
